package com.ruoyi.devicebind.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 设备绑定解绑对象 sys_correctionuser
 * 
 * @author ruoyi
 * @date 2021-03-16
 */
public class devicebind extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 矫正对象ID */
    private Long correctionuserId;

    /** 所属管辖部门id */
    @Excel(name = "所属管辖部门id")
    private Long deptId;

    /** 矫正对象姓名 */
    @Excel(name = "矫正对象姓名")
    private String userName;

    /** 联系手机 */
    @Excel(name = "联系手机")
    private String phonenumber;

    /** 性别（0男 1女 2未知） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知")
    private String gender;

    /** 绑定设备 */
    @Excel(name = "绑定设备")
    private Long imei;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 帐号状态（0正常 1停用） */
    @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setCorrectionuserId(Long correctionuserId) 
    {
        this.correctionuserId = correctionuserId;
    }

    public Long getCorrectionuserId() 
    {
        return correctionuserId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setPhonenumber(String phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber() 
    {
        return phonenumber;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setImei(Long imei) 
    {
        this.imei = imei;
    }

    public Long getImei() 
    {
        return imei;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("correctionuserId", getCorrectionuserId())
            .append("deptId", getDeptId())
            .append("userName", getUserName())
            .append("phonenumber", getPhonenumber())
            .append("gender", getGender())
            .append("imei", getImei())
            .append("idCard", getIdCard())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
